package com.jk.service.impl;

import com.jk.bean.Bks;
import com.jk.mapper.BksMapper;
import com.jk.service.BksService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BksServiceImpl implements BksService {
    @Autowired
    private BksMapper bksMapper;
    @Override
    public List<Bks> selectBks() {
        return bksMapper.selectBks();
    }

    @Override
    public void addBks(Bks bks) {
        bksMapper.addBks(bks);
    }
}
